package com.springtest.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenming
 * @description
 * @create: 2022-09-08
 */
@RestController
@Slf4j
public class StaticController {

    @Value("${im.server-port}")
    private int port;

    static {
      log.info("static 方法块执行");
    }

}
